package com.fanshuai.tree.tree;

import java.util.ArrayList;
import java.util.List;

public class Node {
    public int value;
    public List<Node> subNodes;
    public Node parent;

    public Node(int value) {
        this.value = value;
        this.subNodes = new ArrayList<>();
        this.parent = null;
    }
}
